﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
    public class CwyFleet
    {
        [DisplayName("车队编号Id")]
        public int FleetId { get; set; }
        [DisplayName("概况编号")]
        [Required]
        public int General { get; set; }
        [DisplayName("车队介绍")]
        public string Introduce { get; set; }
        [DisplayName("站点数")]
        [Required]
        public int Stations { get; set; }
        [DisplayName("办公地点")]
        public string WorkPlace { get; set; }
        [DisplayName("办公电话")]
        public string OfficePhone { get; set; }
        [DisplayName("负责人")]
        [Required]
        public string Leader { get; set; }
        [DisplayName("线路负责人")]
        [Required]
        public string StudentName { get; set; }
        [DisplayName("负责人学号")]
        [Required]
        public string StudentNum { get; set; }
        [DisplayName("所需人数")]
        [Required]
        public int Volunteers { get; set; }
        [DisplayName("客流量")]
        public string Passengers { get; set; }
        [DisplayName("车班数")]
        [Required]
        public int GroupNums { get; set; }
        [DisplayName("第一班车出车时间")]
        public Nullable<System.DateTime> StartTime { get; set; }
        [DisplayName("最后一班车归乘时间")]
        public Nullable<System.DateTime> EndTime { get; set; }
    }
}
